package com.lazy.mongodemo.aggregation;

public class AgATest extends AbstractMongoClient {

    public AgATest(String url, String dbName, String collectionName){
        super(url, dbName, collectionName);
    }
    
    public void aggregate() {
        PrintBlock printBlock = new PrintBlock(0);
//        this.coll.aggregate(asList());
//        collection.aggregate(asList(
//                match(gt("i", 0)),
//                project(Document.parse("{ITimes10: {$multiply: ['$i', 10]}}")))
//        ).forEach(printBlock);
    }
    
    public static void main(String[] args){
        String url = "mongodb://192.168.1.234:37017";
        AgATest agTest  = new AgATest(url, "gwgps", "gps2");
    }

}
